DrillOnDetail Event (Window Object)

Sample Code - DrillOnDetail Event

The DrillOnDetail event occurs when you drill down on a field in the Details area of the report.

Syntax
Event DrillOnDetail (FieldValues, SelectedFieldIndex As Long,
useDefault As Boolean)
Parameters

FieldValues

Specifies an array of FieldValue objects (see FieldValue Object). Each object contains information about a single field for the Detail record that was drilled down on. FieldValues may contain database field values, formula field values and summary field values, and group name field values of the group that the record belongs to.

SelectedFieldIndex

Specifies the selected field index in the array that points to the actual FieldValue. If no field is selected, 0 is returned.

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do not want drill down to occur).

ReportName

Reserved for future use.

Remarks

Before enabling this event, the CanDrillDown property of the PrintWindowOptions Object, must be set to TRUE. For more information, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com